<!-- index.html -->
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
    <style>
        button{
            width: 100
            height: 50
        }
    </style>
</head>
<body>
<h1>Resource Raw File</h1>
<button onclick="test02()">调用鸿蒙系统中的方法</button>
</body>
<!-- 执行的js脚本 -->
<script type="text/javascript">
    function test() {
        console.log('Ark WebComponent')
        return "This value is from index.html"
    }
    function test02() {
        obj.toAlert()
    }
</script>
</html>